package com.lian.service.impl;

import com.lian.dao.impl.productdaoimpl;
import com.lian.dao.productdao;
import com.lian.entity.product;
import com.lian.service.productservice;

import java.util.List;

/**
 * Created by lenovo on 2018/8/6.
 */
public class productserviceimpl implements productservice
{
    productdao dao=new productdaoimpl();
    public List<product> findpro(int proid) {
        return dao.findpro(proid);
    }

    @Override
    public List<product> findpro() {
        return dao.findpro();
    }

    @Override
    public product findBy(int waterName) {
        return dao.findBy(waterName);
    }
}
